package com.jielihaofeng.site.category.service;

import com.jielihaofeng.framework.common.page.PageResult;
import com.jielihaofeng.framework.common.service.BaseService;
import com.jielihaofeng.site.category.vo.CategoryVO;
import com.jielihaofeng.site.category.query.CategoryQuery;
import com.jielihaofeng.site.category.entity.CategoryEntity;

import java.util.List;

/**
 * 分类管理
 *
 * @author 借力好风 949394048@qq.com
 * @since 1.0.0 2022-07-21
 */
public interface CategoryService extends BaseService<CategoryEntity> {

    List<CategoryVO> getList();

    PageResult<CategoryVO> page(CategoryQuery query);

    void save(CategoryVO vo);

    void update(CategoryVO vo);

    void delete(List<Long> idList);

    void delete(Long id);
}